Wallace did extensive natural history exploring. He went first to the Amazon River basin with Henry Walter Bates, and later to Malaya and Indonesia. He wrote books on both these adventures. While in Indonesia he drew the Wallace Line which divides Indonesia into two parts. On one side are animals of Australasia. On the other side are species mostly of Asian origin. He wrote a book on biogeography (the distribution of animals).